How does the command approval process work?
When a command is run for the first time, the server prompts the user to allow it once, allow it and remember the approval, or deny execution. Approved commands are stored persistently.
@codelion
Basic information
Category
Developer Tools
Last updated
License
Apache-2.0
Transports
stdio
Author
codelion
Submitted by
Asankhaya Sharma
Dynamic Shell Command MCP Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dynamic-shell-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}`command`: The command to execute
`command`: The command to revoke approval for
Dynamic Shell Server is a Model Context Protocol (MCP) server that enables secure execution of shell commands with a dynamic approval system. It allows running arbitrary commands while maintaining security through user approval and audit logging. This server is designed for developers using MCP-compatible clients like Claude Desktop.
Install by cloning the repository, setting up a Python virtual environment, and installing dependencies. Run standalone with python dynamic_shell_server.py or integrate with Claude Desktop by adding its configuration to claude_desktop_config.json. When a command is executed for the first time, the user is prompted to allow it once, allow and remember, or deny execution.
npm install only after approvalWhen a command is run for the first time, the server prompts the user to allow it once, allow it and remember the approval, or deny execution. Approved commands are stored persistently.
Data is stored in the directory `~/.config/mcp-shell-server/`, containing `approved_commands.json` (list of approved commands) and `audit.log` (execution history).
The server does not use shell execution, preventing shell injection attacks. It also requires user approval for first-time command execution and logs all commands.
Yes, commands have a 5-minute timeout protection to prevent runaway processes.
Yes, the `revoke_command_approval` tool allows revoking approval for any command that was previously approved.

The tools your AI needs to make your games. Turn prompts into production-ready game assets — animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs — and playable game kits Unity, Godot, U

Send yourself a push notification from an AI assistant. Ask it to do something long-running, walk away, and it tells you itself instead of writing code that does. Hosted or local, no account.
Set up and manage the Eddyter AI rich text editor by talking to your AI agent — for Claude, Cursor, Codex and other MCP tools. A Model Context Protocol server that lets AI tools add Eddyter to a React, Next.js, Vite or R
OrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.

One case file per task — shared by every session, agent and person that touches it. Self-hosted MCP server and live board. MIT.
Comments